package com.ruoyi.web.controller.mapper;

import java.util.List;
import com.ruoyi.web.controller.demo.domain.SysWarehouse;
import com.ruoyi.web.controller.demo.domain.SysWzxUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * sys_warehouseMapper接口
 * 
 * @author ruoyi
 * @date 2022-12-30
 */
@Mapper
public interface SysWarehouseMapper 
{
    /**
     * 查询sys_warehouse
     * 
     * @param id sys_warehouse主键
     * @return sys_warehouse
     */
    public SysWarehouse selectSysWarehouseById(Long id);

    /**
     * 查询sys_warehouse列表
     * 
     * @param sysWarehouse sys_warehouse
     * @return sys_warehouse集合
     */
    public List<SysWarehouse> selectSysWarehouseList(SysWarehouse sysWarehouse);

    //更新容量
    public int updateLine(SysWarehouse sysWarehouse);
    /**
     * 新增sys_warehouse
     * 
     * @param sysWarehouse sys_warehouse
     * @return 结果
     */
    public int insertSysWarehouse(SysWarehouse sysWarehouse);

    /**
     * 修改sys_warehouse
     * 
     * @param sysWarehouse sys_warehouse
     * @return 结果
     */
    public int updateSysWarehouse(SysWarehouse sysWarehouse);

    /**
     * 删除sys_warehouse
     * 
     * @param id sys_warehouse主键
     * @return 结果
     */
    public int deleteSysWarehouseById(Long id);

    /**
     * 批量删除sys_warehouse
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysWarehouseByIds(String[] ids);

    /**
     * 批量删除人员信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysWzxUserByUserIds(String[] ids);
    
    /**
     * 批量新增人员信息
     * 
     * @param sysWzxUserList 人员信息列表
     * @return 结果
     */
    public int batchSysWzxUser(List<SysWzxUser> sysWzxUserList);
    

    /**
     * 通过sys_warehouse主键删除人员信息信息
     * 
     * @param id sys_warehouseID
     * @return 结果
     */
    public int deleteSysWzxUserByUserId(Long id);
}
